cmake_minimum_required(VERSION 3.8)
project(demo)

# List the required ROS2 dependencies
set(demo_deps
  rclcpp
  czi_msgs
)

#使用自定义cmake进行处理
find_package(czi_cmake REQUIRED)
czi_package()

ament_auto_add_executable(demo
  src/demo.cpp)

ament_target_dependencies(demo ${demo_deps})

ament_auto_package(
  INSTALL_TO_SHARE
  config
  launch
  USE_SCOPED_HEADER_INSTALL_DIR
)

